package com.yxjx.duoxue.webimage;

import java.io.File;
import java.net.URI;

import com.yxjx.duoxue.R;
import com.yxjx.duoxue.utils.UIHelper;

import android.app.Activity;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.widget.ImageView;

public class MainActivity extends Activity {
	
	private ImageView imageView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		imageView=(ImageView) findViewById(R.id.img);
		String url = "http://f.hiphotos.baidu.com/album/w%3D2048/sign=7aa167f79f2f07085f052d00dd1cb999/472309f7905298228f794c7bd6ca7bcb0b46d4c4.jpg";
		UIHelper.asyncLoadImage(imageView, url, R.drawable.default_banner);
		
		imageView=(ImageView) findViewById(R.id.img2);
		UIHelper.asyncLoadImage(imageView, url, R.drawable.default_banner);
	}

}

